home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 15 / BBS in a box XV-2.iso / Files II / Prog / N-P / NeoAccessIntro 3.0.sit / TCL / Laughs / Source / CLaughsDoc.cp < prev    next >
MacBinary  |  1994-10-02  |  6.9 KB  |  [TEXT/KAHL]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert MS-DOS Code Page Info (other/dosCodePage) ext Unsupported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Sun Oct 2 12:53:50 1994, modified Sun Oct 2 12:53:50 1994, creator Think C, type ASCII, 5350 bytes "CLaughsDoc.cp" , at 0x1566 1420 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[KAHL]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0d 43 4c 61 75 67 68 | 73 44 6f 63 2e 63 70 00 |..CLaugh|sDoc.cp.|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4b 41 48 | 4c 01 00 00 00 00 00 00 |.TEXTKAH|L.......|
|00000050| 00 00 00 00 00 14 e6 00 | 00 05 8c aa b4 96 1e aa |........|........|
|00000060| b4 96 1e 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 5e 47 00 00 |........|....^G..|
|00000080| 2f 2a 2a 2a 2a 0d 20 2a | 20 43 4c 61 75 67 68 73 |/****. *| CLaughs|
|00000090| 44 6f 63 2e 63 70 0d 20 | 2a 0d 20 2a 09 49 6d 70 |Doc.cp. |*. *.Imp|
|000000a0| 6c 65 6d 65 6e 74 61 74 | 69 6f 6e 20 6f 66 20 61 |lementat|ion of a|
|000000b0| 20 64 6f 63 75 6d 65 6e | 74 20 63 6c 61 73 73 20 | documen|t class |
|000000c0| 66 75 6c 6c 20 6f 66 20 | 6c 61 75 67 68 73 2e 0d |full of |laughs..|
|000000d0| 20 2a 0d 20 2a 20 20 43 | 6f 70 79 72 69 67 68 74 | *. * C|opyright|
|000000e0| 20 a9 20 31 39 39 34 20 | 4e 65 6f 4c 6f 67 69 63 | . 1994 |NeoLogic|
|000000f0| 20 53 79 73 74 65 6d 73 | 2e 20 20 41 6c 6c 20 72 | Systems|. All r|
|00000100| 69 67 68 74 73 20 72 65 | 73 65 72 76 65 64 2e 0d |ights re|served..|
|00000110| 20 2a 0d 20 2a 09 54 68 | 69 73 20 73 61 6d 70 6c | *. *.Th|is sampl|
|00000120| 65 20 61 70 70 20 69 73 | 20 64 65 72 69 76 65 64 |e app is| derived|
|00000130| 20 66 72 6f 6d 20 61 20 | 63 6f 6e 74 72 69 62 75 | from a |contribu|
|00000140| 74 69 6f 6e 20 6f 72 69 | 67 69 6e 61 6c 6c 79 20 |tion ori|ginally |
|00000150| 6d 61 64 65 0d 20 2a 09 | 62 79 20 50 61 75 6c 20 |made. *.|by Paul |
|00000160| 47 65 65 20 28 47 65 65 | 2c 20 74 68 61 6e 6b 73 |Gee (Gee|, thanks|
|00000170| 20 50 61 75 6c 21 29 2e | 0d 20 2a 0d 20 2a 2a 2a | Paul!).|. *. ***|
|00000180| 2a 2f 0d 0d 23 69 6e 63 | 6c 75 64 65 20 22 4e 65 |*/..#inc|lude "Ne|
|00000190| 6f 54 79 70 65 73 2e 68 | 22 0d 23 69 6e 63 6c 75 |oTypes.h|".#inclu|
|000001a0| 64 65 20 3c 73 74 64 6c | 69 62 2e 68 3e 0d 23 69 |de <stdl|ib.h>.#i|
|000001b0| 6e 63 6c 75 64 65 20 3c | 73 74 64 69 6f 2e 68 3e |nclude <|stdio.h>|
|000001c0| 0d 23 69 6e 63 6c 75 64 | 65 20 3c 74 69 6d 65 2e |.#includ|e <time.|
|000001d0| 68 3e 0d 23 69 6e 63 6c | 75 64 65 20 43 4e 65 6f |h>.#incl|ude CNeo|
|000001e0| 44 61 74 61 62 61 73 65 | 4e 61 74 69 76 65 48 0d |Database|NativeH.|
|000001f0| 23 69 6e 63 6c 75 64 65 | 20 43 4e 65 6f 49 6e 64 |#include| CNeoInd|
|00000200| 65 78 49 74 65 72 61 74 | 6f 72 48 0d 23 69 6e 63 |exIterat|orH.#inc|
|00000210| 6c 75 64 65 20 43 4e 65 | 6f 53 65 6c 65 63 74 48 |lude CNe|oSelectH|
|00000220| 0d 23 69 6e 63 6c 75 64 | 65 20 22 43 4c 61 75 67 |.#includ|e "CLaug|
|00000230| 68 73 41 70 70 2e 68 22 | 0d 23 69 6e 63 6c 75 64 |hsApp.h"|.#includ|
|00000240| 65 20 22 43 4c 61 75 67 | 68 73 44 6f 63 2e 68 22 |e "CLaug|hsDoc.h"|
|00000250| 0d 23 69 6e 63 6c 75 64 | 65 20 22 43 50 65 72 73 |.#includ|e "CPers|
|00000260| 6f 6e 2e 68 22 0d 0d 2f | 2a 2a 2a 0d 20 2a 20 43 |on.h"../|***. * C|
|00000270| 4c 61 75 67 68 73 44 6f | 63 0d 20 2a 0d 20 2a 09 |LaughsDo|c. *. *.|
|00000280| 54 68 69 73 20 69 73 20 | 74 68 65 20 64 6f 63 75 |This is |the docu|
|00000290| 6d 65 6e 74 27 73 20 69 | 6e 69 74 69 61 6c 69 7a |ment's i|nitializ|
|000002a0| 61 74 69 6f 6e 20 6d 65 | 74 68 6f 64 2e 0d 20 2a |ation me|thod.. *|
|000002b0| 0d 20 2a 2a 2a 2f 0d 43 | 4c 61 75 67 68 73 44 6f |. ***/.C|LaughsDo|
|000002c0| 63 3a 3a 43 4c 61 75 67 | 68 73 44 6f 63 28 43 41 |c::CLaug|hsDoc(CA|
|000002d0| 70 70 6c 69 63 61 74 69 | 6f 6e 20 2a 61 53 75 70 |pplicati|on *aSup|
|000002e0| 65 72 76 69 73 6f 72 2c | 20 63 6f 6e 73 74 20 42 |ervisor,| const B|
|000002f0| 6f 6f 6c 65 61 6e 20 61 | 50 72 69 6e 74 61 62 6c |oolean a|Printabl|
|00000300| 65 2c 20 63 6f 6e 73 74 | 20 42 6f 6f 6c 65 61 6e |e, const| Boolean|
|00000310| 20 61 4e 65 77 44 61 74 | 61 62 61 73 65 29 0d 09 | aNewDat|abase)..|
|00000320| 3a 20 43 4e 65 6f 44 6f | 63 52 6f 6f 74 28 6b 4c |: CNeoDo|cRoot(kL|
|00000330| 61 75 67 68 73 53 69 67 | 2c 20 6b 4c 61 75 67 68 |aughsSig|, kLaugh|
|00000340| 73 46 69 6c 65 54 79 70 | 65 2c 20 61 50 72 69 6e |sFileTyp|e, aPrin|
|00000350| 74 61 62 6c 65 2c 20 61 | 4e 65 77 44 61 74 61 62 |table, a|NewDatab|
|00000360| 61 73 65 2c 20 54 52 55 | 45 2c 20 46 41 4c 53 45 |ase, TRU|E, FALSE|
|00000370| 29 0d 7b 0d 09 2f 2f 20 | 41 20 64 6f 63 75 6d 65 |).{..// |A docume|
|00000380| 6e 74 20 74 68 61 74 20 | 6f 70 65 6e 73 20 61 20 |nt that |opens a |
|00000390| 77 69 6e 64 6f 77 20 77 | 6f 75 6c 64 20 6e 6f 74 |window w|ould not|
|000003a0| 20 6e 65 65 64 20 74 6f | 20 61 63 74 69 76 61 74 | need to| activat|
|000003b0| 65 20 69 74 73 65 6c 66 | 20 65 78 70 6c 69 63 69 |e itself| explici|
|000003c0| 74 6c 79 2e 0d 09 41 63 | 74 69 76 61 74 65 28 29 |tly...Ac|tivate()|
|000003d0| 3b 0d 7d 0d 0d 2f 2a 2a | 2a 0d 20 2a 20 62 75 69 |;.}../**|*. * bui|
|000003e0| 6c 64 57 69 6e 64 6f 77 | 0d 20 2a 0d 20 2a 09 54 |ldWindow|. *. *.T|
|000003f0| 68 69 73 20 69 73 20 74 | 68 65 20 61 75 78 69 6c |his is t|he auxil|
|00000400| 69 61 72 79 20 77 69 6e | 64 6f 77 2d 62 75 69 6c |iary win|dow-buil|
|00000410| 64 69 6e 67 20 6d 65 74 | 68 6f 64 20 74 68 61 74 |ding met|hod that|
|00000420| 20 74 68 65 0d 20 2a 09 | 4e 65 77 46 69 6c 65 20 | the. *.|NewFile |
|00000430| 61 6e 64 20 4f 70 65 6e | 46 69 6c 65 20 6d 65 74 |and Open|File met|
|00000440| 68 6f 64 73 20 75 73 65 | 20 74 6f 20 63 72 65 61 |hods use| to crea|
|00000450| 74 65 20 61 20 77 69 6e | 64 6f 77 2e 0d 20 2a 0d |te a win|dow.. *.|
|00000460| 20 2a 09 4c 61 75 67 68 | 73 20 64 6f 65 73 6e 27 | *.Laugh|s doesn'|
|00000470| 74 20 6e 65 65 64 20 74 | 6f 20 65 78 70 6c 69 63 |t need t|o explic|
|00000480| 69 74 6c 79 20 63 72 65 | 61 74 65 20 61 20 77 69 |itly cre|ate a wi|
|00000490| 6e 64 6f 77 2c 0d 20 2a | 09 70 72 69 6e 74 66 20 |ndow,. *|.printf |
|000004a0| 77 69 6c 6c 20 64 6f 20 | 74 68 61 74 20 66 6f 72 |will do |that for|
|000004b0| 20 75 73 2e 0d 20 2a 0d | 20 2a 2a 2a 2f 0d 76 6f | us.. *.| ***/.vo|
|000004c0| 69 64 20 43 4c 61 75 67 | 68 73 44 6f 63 3a 3a 62 |id CLaug|hsDoc::b|
|000004d0| 75 69 6c 64 57 69 6e 64 | 6f 77 28 76 6f 69 64 29 |uildWind|ow(void)|
|000004e0| 0d 7b 0d 09 2f 2f 20 4e | 6f 74 68 69 6e 67 20 74 |.{..// N|othing t|
|000004f0| 6f 20 64 6f 2e 0d 7d 0d | 0d 2f 2a 2a 2a 0d 20 2a |o do..}.|./***. *|
|00000500| 20 4e 65 77 46 69 6c 65 | 0d 20 2a 0d 20 2a 09 57 | NewFile|. *. *.W|
|00000510| 68 65 6e 20 74 68 65 20 | 75 73 65 72 20 63 68 6f |hen the |user cho|
|00000520| 6f 73 65 73 20 4e 65 77 | 20 66 72 6f 6d 20 74 68 |oses New| from th|
|00000530| 65 20 46 69 6c 65 20 6d | 65 6e 75 2c 20 74 68 65 |e File m|enu, the|
|00000540| 20 63 72 65 61 74 65 44 | 6f 63 75 6d 65 6e 74 0d | createD|ocument.|
|00000550| 20 2a 09 6d 65 74 68 6f | 64 20 69 6e 20 79 6f 75 | *.metho|d in you|
|00000560| 72 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 20 77 69 |r applic|ation wi|
|00000570| 6c 6c 20 63 61 6c 6c 20 | 74 68 65 20 6e 65 77 6c |ll call |the newl|
|00000580| 79 20 63 72 65 61 74 65 | 64 20 64 6f 63 75 6d 65 |y create|d docume|
|00000590| 6e 74 27 73 0d 20 2a 09 | 4e 65 77 46 69 6c 65 20 |nt's. *.|NewFile |
|000005a0| 6d 65 73 73 61 67 65 2e | 0d 20 2a 0d 20 2a 09 54 |message.|. *. *.T|
|000005b0| 68 69 73 20 6d 65 74 68 | 6f 64 20 73 68 6f 75 6c |his meth|od shoul|
|000005c0| 64 20 62 65 67 69 6e 20 | 62 79 20 63 61 6c 6c 69 |d begin |by calli|
|000005d0| 6e 67 20 69 6e 68 65 72 | 69 74 65 64 2e 20 41 66 |ng inher|ited. Af|
|000005e0| 74 65 72 20 74 68 61 74 | 20 69 74 20 6d 69 67 68 |ter that| it migh|
|000005f0| 74 0d 20 2a 09 77 61 6e | 74 20 74 6f 20 74 69 74 |t. *.wan|t to tit|
|00000600| 6c 65 20 74 68 65 20 77 | 69 6e 64 6f 77 20 61 6e |le the w|indow an|
|00000610| 64 20 73 65 74 20 74 68 | 65 20 64 65 66 61 75 6c |d set th|e defaul|
|00000620| 74 20 6e 61 6d 65 20 77 | 68 69 63 68 20 77 69 6c |t name w|hich wil|
|00000630| 6c 20 61 70 70 65 61 72 | 0d 20 2a 09 69 6e 20 74 |l appear|. *.in t|
|00000640| 68 65 20 73 74 61 6e 64 | 61 72 64 20 67 65 74 20 |he stand|ard get |
|00000650| 66 69 6c 65 20 64 69 61 | 6c 6f 67 2e 20 4c 61 75 |file dia|log. Lau|
|00000660| 67 68 73 20 63 61 6c 6c | 73 20 44 6f 53 61 76 65 |ghs call|s DoSave|
|00000670| 46 69 6c 65 41 73 20 6a | 75 73 74 0d 20 2a 09 73 |FileAs j|ust. *.s|
|00000680| 6f 20 74 68 65 20 75 73 | 65 72 20 64 6f 65 73 6e |o the us|er doesn|
|00000690| 27 74 20 68 61 76 65 20 | 74 6f 20 63 68 6f 6f 73 |'t have |to choos|
|000006a0| 65 20 74 68 65 20 53 61 | 76 65 20 6d 65 6e 75 20 |e the Sa|ve menu |
|000006b0| 69 74 65 6d 2e 20 59 6f | 75 72 0d 20 2a 09 61 70 |item. Yo|ur. *.ap|
|000006c0| 70 6c 69 63 61 74 69 6f | 6e 20 6d 61 79 20 64 65 |plicatio|n may de|
|000006d0| 63 69 64 65 20 6f 74 68 | 65 72 77 69 73 65 2e 0d |cide oth|erwise..|
|000006e0| 20 2a 0d 20 2a 2a 2a 2f | 0d 76 6f 69 64 20 43 4c | *. ***/|.void CL|
|000006f0| 61 75 67 68 73 44 6f 63 | 3a 3a 4e 65 77 46 69 6c |aughsDoc|::NewFil|
|00000700| 65 28 76 6f 69 64 29 0d | 7b 0d 09 43 4e 65 6f 44 |e(void).|{..CNeoD|
|00000710| 61 74 61 62 61 73 65 20 | 2a 09 64 61 74 61 62 61 |atabase |*.databa|
|00000720| 73 65 09 09 3d 20 67 65 | 74 44 61 74 61 62 61 73 |se..= ge|tDatabas|
|00000730| 65 28 29 3b 0d 0d 09 69 | 6e 68 65 72 69 74 65 64 |e();...i|nherited|
|00000740| 3a 3a 4e 65 77 46 69 6c | 65 28 29 3b 0d 0d 09 2f |::NewFil|e();.../|
|00000750| 2f 20 53 65 74 20 74 68 | 65 20 64 65 66 61 75 6c |/ Set th|e defaul|
|00000760| 74 20 6e 61 6d 65 20 77 | 68 69 63 68 20 61 70 70 |t name w|hich app|
|00000770| 65 61 72 73 20 69 6e 20 | 74 68 65 20 67 65 74 20 |ears in |the get |
|00000780| 66 69 6c 65 20 64 69 61 | 6c 6f 67 2e 0d 09 64 61 |file dia|log...da|
|00000790| 74 61 62 61 73 65 2d 3e | 53 70 65 63 69 66 79 28 |tabase->|Specify(|
|000007a0| 22 5c 70 4c 61 75 67 68 | 74 65 72 22 2c 20 30 29 |"\pLaugh|ter", 0)|
|000007b0| 3b 0d 0d 09 2f 2f 20 53 | 74 75 66 66 20 74 68 65 |;...// S|tuff the|
|000007c0| 20 64 61 74 61 62 61 73 | 65 20 77 69 74 68 20 6f | databas|e with o|
|000007d0| 62 6a 65 63 74 73 2e 0d | 09 63 72 65 61 74 65 4f |bjects..|.createO|
|000007e0| 62 6a 65 63 74 73 28 29 | 3b 0d 0d 09 2f 2f 20 43 |bjects()|;...// C|
|000007f0| 6f 6d 6d 69 74 20 74 68 | 65 20 63 68 61 6e 67 65 |ommit th|e change|
|00000800| 73 20 74 68 61 74 20 77 | 65 20 6d 61 64 65 20 74 |s that w|e made t|
|00000810| 6f 20 74 68 65 20 64 61 | 74 61 62 61 73 65 2e 0d |o the da|tabase..|
|00000820| 09 44 6f 53 61 76 65 46 | 69 6c 65 41 73 28 29 3b |.DoSaveF|ileAs();|
|00000830| 0d 0d 09 70 72 69 6e 74 | 66 28 22 5c 6e 44 6f 6e |...print|f("\nDon|
|00000840| 65 21 5c 6e 5c 6e 22 29 | 3b 0d 7d 0d 0d 2f 2a 2a |e!\n\n")|;.}../**|
|00000850| 2a 0d 20 2a 20 4f 70 65 | 6e 46 69 6c 65 0d 20 2a |*. * Ope|nFile. *|
|00000860| 0d 20 2a 09 57 68 65 6e | 20 74 68 65 20 75 73 65 |. *.When| the use|
|00000870| 72 20 63 68 6f 6f 73 65 | 73 20 4f 70 65 6e c9 20 |r choose|s Open. |
|00000880| 66 72 6f 6d 20 74 68 65 | 20 46 69 6c 65 20 6d 65 |from the| File me|
|00000890| 6e 75 2c 20 74 68 65 20 | 4f 70 65 6e 44 6f 63 75 |nu, the |OpenDocu|
|000008a0| 6d 65 6e 74 0d 20 2a 09 | 6d 65 74 68 6f 64 20 69 |ment. *.|method i|
|000008b0| 6e 20 79 6f 75 72 20 61 | 70 70 6c 69 63 61 74 69 |n your a|pplicati|
|000008c0| 6f 6e 20 63 6c 61 73 73 | 20 77 69 6c 6c 20 6c 65 |on class| will le|
|000008d0| 74 20 74 68 65 20 75 73 | 65 72 20 63 68 6f 6f 73 |t the us|er choos|
|000008e0| 65 20 61 20 66 69 6c 65 | 0d 20 2a 09 61 6e 64 20 |e a file|. *.and |
|000008f0| 74 68 65 6e 20 73 65 6e | 64 20 61 20 6e 65 77 6c |then sen|d a newl|
|00000900| 79 20 63 72 65 61 74 65 | 64 20 64 6f 63 75 6d 65 |y create|d docume|
|00000910| 6e 74 20 74 68 69 73 20 | 6d 65 73 73 61 67 65 2e |nt this |message.|
|00000920| 20 54 68 65 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e | The inf|ormation|
|00000930| 0d 20 2a 09 61 62 6f 75 | 74 20 74 68 65 20 66 69 |. *.abou|t the fi|
|00000940| 6c 65 20 69 73 20 69 6e | 20 74 68 65 20 53 46 52 |le is in| the SFR|
|00000950| 65 70 6c 79 20 72 65 63 | 6f 72 64 2e 0d 20 2a 0d |eply rec|ord.. *.|
|00000960| 20 2a 2a 2a 2f 0d 76 6f | 69 64 20 43 4c 61 75 67 | ***/.vo|id CLaug|
|00000970| 68 73 44 6f 63 3a 3a 4f | 70 65 6e 46 69 6c 65 28 |hsDoc::O|penFile(|
|00000980| 53 46 52 65 70 6c 79 20 | 2a 6d 61 63 53 46 52 65 |SFReply |*macSFRe|
|00000990| 70 6c 79 29 0d 7b 0d 09 | 66 4f 70 65 6e 4d 6f 64 |ply).{..|fOpenMod|
|000009a0| 65 20 3d 20 66 73 52 64 | 50 65 72 6d 3b 0d 09 69 |e = fsRd|Perm;..i|
|000009b0| 6e 68 65 72 69 74 65 64 | 3a 3a 4f 70 65 6e 46 69 |nherited|::OpenFi|
|000009c0| 6c 65 28 6d 61 63 53 46 | 52 65 70 6c 79 29 3b 0d |le(macSF|Reply);.|
|000009d0| 0d 09 2f 2f 20 46 69 6e | 64 20 65 61 63 68 20 6f |..// Fin|d each o|
|000009e0| 66 20 74 68 65 20 6f 62 | 6a 65 63 74 73 20 69 6e |f the ob|jects in|
|000009f0| 20 74 68 65 20 64 61 74 | 61 62 61 73 65 20 69 6e | the dat|abase in|
|00000a00| 20 74 75 72 6e 2e 0d 09 | 70 72 69 6e 74 4f 75 74 | turn...|printOut|
|00000a10| 28 29 3b 0d 0d 09 2f 2f | 20 54 68 61 74 27 73 20 |();...//| That's |
|00000a20| 61 6c 6c 20 66 6f 6c 6b | 73 21 0d 09 70 72 69 6e |all folk|s!..prin|
|00000a30| 74 66 28 22 5c 6e 44 6f | 6e 65 21 5c 6e 5c 6e 22 |tf("\nDo|ne!\n\n"|
|00000a40| 29 3b 0d 7d 0d 0d 2f 2a | 2a 2a 0d 20 2a 20 63 72 |);.}../*|**. * cr|
|00000a50| 65 61 74 65 4f 62 6a 65 | 63 74 73 0d 20 2a 0d 20 |eateObje|cts. *. |
|00000a60| 2a 09 41 64 64 20 74 68 | 72 65 65 20 70 65 6f 70 |*.Add th|ree peop|
|00000a70| 6c 65 20 74 6f 20 74 68 | 65 20 64 61 74 61 62 61 |le to th|e databa|
|00000a80| 73 65 2c 20 74 77 6f 20 | 6a 6f 6b 65 72 73 20 61 |se, two |jokers a|
|00000a90| 6e 64 20 61 20 63 6c 6f | 77 6e 2e 0d 20 2a 0d 20 |nd a clo|wn.. *. |
|00000aa0| 2a 2a 2a 2f 0d 76 6f 69 | 64 20 43 4c 61 75 67 68 |***/.voi|d CLaugh|
|00000ab0| 73 44 6f 63 3a 3a 63 72 | 65 61 74 65 4f 62 6a 65 |sDoc::cr|eateObje|
|00000ac0| 63 74 73 28 76 6f 69 64 | 29 0d 7b 0d 09 43 4a 6f |cts(void|).{..CJo|
|00000ad0| 6b 65 20 2a 09 09 09 6a | 6f 6b 65 31 3b 0d 09 43 |ke *...j|oke1;..C|
|00000ae0| 4a 6f 6b 65 20 2a 09 09 | 09 6a 6f 6b 65 32 3b 0d |Joke *..|.joke2;.|
|00000af0| 09 43 4a 6f 6b 65 72 20 | 2a 09 09 6a 6f 6b 65 72 |.CJoker |*..joker|
|00000b00| 3b 0d 09 43 43 6c 6f 77 | 6e 20 2a 09 09 63 6c 6f |;..CClow|n *..clo|
|00000b10| 77 6e 3b 0d 09 43 4e 65 | 6f 44 61 74 61 62 61 73 |wn;..CNe|oDatabas|
|00000b20| 65 20 2a 09 64 61 74 61 | 62 61 73 65 09 09 3d 20 |e *.data|base..= |
|00000b30| 67 65 74 44 61 74 61 62 | 61 73 65 28 29 3b 0d 09 |getDatab|ase();..|
|00000b40| 43 4e 65 6f 53 74 72 69 | 6e 67 09 09 73 74 72 69 |CNeoStri|ng..stri|
|00000b50| 6e 67 3b 0d 09 63 68 61 | 72 09 09 09 6e 61 6d 65 |ng;..cha|r...name|
|00000b60| 5b 36 34 5d 3b 0d 0d 09 | 2f 2f 20 54 65 6c 6c 20 |[64];...|// Tell |
|00000b70| 74 68 65 6d 20 77 68 61 | 74 20 77 65 27 72 65 20 |them wha|t we're |
|00000b80| 61 62 6f 75 74 20 74 6f | 20 64 6f 2e 0d 09 64 61 |about to| do...da|
|00000b90| 74 61 62 61 73 65 2d 3e | 67 65 74 4e 61 6d 65 28 |tabase->|getName(|
|00000ba0| 73 74 72 69 6e 67 29 3b | 0d 09 42 6c 6f 63 6b 4d |string);|..BlockM|
|00000bb0| 6f 76 65 28 26 73 74 72 | 69 6e 67 5b 31 5d 2c 20 |ove(&str|ing[1], |
|00000bc0| 6e 61 6d 65 2c 20 73 74 | 72 69 6e 67 5b 30 5d 29 |name, st|ring[0])|
|00000bd0| 3b 0d 09 6e 61 6d 65 5b | 73 74 72 69 6e 67 5b 30 |;..name[|string[0|
|00000be0| 5d 5d 20 3d 20 30 3b 0d | 09 70 72 69 6e 74 66 28 |]] = 0;.|.printf(|
|00000bf0| 22 53 74 6f 72 69 6e 67 | 20 32 20 4a 6f 6b 65 72 |"Storing| 2 Joker|
|00000c00| 73 20 26 20 61 20 43 6c | 6f 77 6e 20 69 6e 20 5c |s & a Cl|own in \|
|00000c10| 22 25 73 5c 22 2e 5c 6e | 22 2c 20 6e 61 6d 65 29 |"%s\".\n|", name)|
|00000c20| 3b 0d 0d 09 2f 2f 20 4b | 6e 6f 77 20 61 6e 79 20 |;...// K|now any |
|00000c30| 67 6f 6f 64 20 6a 6f 6b | 65 73 3f 20 48 6f 77 20 |good jok|es? How |
|00000c40| 27 62 6f 75 74 20 74 68 | 69 73 20 6f 6e 65 2e 2e |'bout th|is one..|
|00000c50| 2e 0d 09 6a 6f 6b 65 31 | 20 3d 20 6e 65 77 20 43 |...joke1| = new C|
|00000c60| 4a 6f 6b 65 28 22 54 68 | 65 20 77 6f 72 6c 64 d5 |Joke("Th|e world.|
|00000c70| 73 20 73 68 6f 72 74 65 | 73 74 20 70 6f 65 6d 3a |s shorte|st poem:|
|00000c80| 20 46 6c 65 65 73 2e 20 | 41 64 61 6d 20 68 61 64 | Flees. |Adam had|
|00000c90| 27 65 6d 2e 22 29 3b 0d | 0d 09 2f 2f 20 41 64 64 |'em.");.|..// Add|
|00000ca0| 20 69 74 20 74 6f 20 74 | 68 65 20 64 61 74 61 62 | it to t|he datab|
|00000cb0| 61 73 65 2e 0d 09 2f 2f | 20 4e 6f 74 65 3a 20 41 |ase...//| Note: A|
|00000cc0| 6e 20 6f 62 6a 65 63 74 | 20 49 44 20 69 73 20 61 |n object| ID is a|
|00000cd0| 73 73 69 67 6e 65 64 20 | 61 75 74 6f 6d 61 74 69 |ssigned |automati|
|00000ce0| 63 6c 79 20 62 79 20 61 | 64 64 4f 62 6a 65 63 74 |cly by a|ddObject|
|00000cf0| 2e 0d 09 64 61 74 61 62 | 61 73 65 2d 3e 61 64 64 |...datab|ase->add|
|00000d00| 4f 62 6a 65 63 74 28 6a | 6f 6b 65 31 29 3b 0d 0d |Object(j|oke1);..|
|00000d10| 09 2f 2f 20 49 73 20 74 | 68 69 73 20 61 20 6a 6f |.// Is t|his a jo|
|00000d20| 6b 65 3f 3f 3f 0d 09 6a | 6f 6b 65 32 20 3d 20 6e |ke???..j|oke2 = n|
|00000d30| 65 77 20 43 4a 6f 6b 65 | 28 22 4d 79 20 64 6f 67 |ew CJoke|("My dog|
|00000d40| 73 20 67 6f 74 20 6e 6f | 20 6e 6f 73 65 3f 22 29 |s got no| nose?")|
|00000d50| 3b 0d 0d 09 2f 2f 20 41 | 64 64 20 69 74 20 74 6f |;...// A|dd it to|
|00000d60| 20 74 68 65 20 64 61 74 | 61 62 61 73 65 2e 0d 09 | the dat|abase...|
|00000d70| 64 61 74 61 62 61 73 65 | 2d 3e 61 64 64 4f 62 6a |database|->addObj|
|00000d80| 65 63 74 28 6a 6f 6b 65 | 32 29 3b 0d 0d 09 2f 2f |ect(joke|2);...//|
|00000d90| 20 43 72 65 61 74 65 20 | 61 20 6a 6f 6b 65 72 20 | Create |a joker |
|00000da0| 6f 62 6a 65 63 74 2e 0d | 09 6a 6f 6b 65 72 20 3d |object..|.joker =|
|00000db0| 20 6e 65 77 20 43 4a 6f | 6b 65 72 28 22 5c 70 4a | new CJo|ker("\pJ|
|00000dc0| 61 63 6b 22 29 3b 0d 0d | 09 2f 2f 20 54 65 61 63 |ack");..|.// Teac|
|00000dd0| 68 20 69 74 20 61 20 63 | 6f 75 70 6c 65 20 6f 66 |h it a c|ouple of|
|00000de0| 20 6a 6f 6b 65 73 2e 0d | 09 6a 6f 6b 65 72 2d 3e | jokes..|.joker->|
|00000df0| 6c 65 61 72 6e 4a 6f 6b | 65 28 6a 6f 6b 65 31 29 |learnJok|e(joke1)|
|00000e00| 3b 0d 09 6a 6f 6b 65 72 | 2d 3e 6c 65 61 72 6e 4a |;..joker|->learnJ|
|00000e10| 6f 6b 65 28 6a 6f 6b 65 | 32 29 3b 0d 0d 09 2f 2f |oke(joke|2);...//|
|00000e20| 20 41 64 64 20 69 74 20 | 74 6f 20 74 68 65 20 64 | Add it |to the d|
|00000e30| 61 74 61 62 61 73 65 2e | 0d 09 64 61 74 61 62 61 |atabase.|..databa|
|00000e40| 73 65 2d 3e 61 64 64 4f | 62 6a 65 63 74 28 6a 6f |se->addO|bject(jo|
|00000e50| 6b 65 72 29 3b 0d 0d 09 | 2f 2f 20 44 6f 6e 27 74 |ker);...|// Don't|
|00000e60| 20 6e 65 65 64 20 74 68 | 69 73 20 67 75 79 20 61 | need th|is guy a|
|00000e70| 6e 79 20 6d 6f 72 65 2e | 20 52 65 6d 6f 76 65 20 |ny more.| Remove |
|00000e80| 6f 75 72 20 72 65 66 65 | 72 65 6e 63 65 20 74 6f |our refe|rence to|
|00000e90| 20 69 74 2e 0d 09 6a 6f | 6b 65 72 2d 3e 75 6e 72 | it...jo|ker->unr|
|00000ea0| 65 66 65 72 28 29 3b 0d | 09 6a 6f 6b 65 72 20 3d |efer();.|.joker =|
|00000eb0| 20 6e 69 6c 3b 0d 0d 09 | 2f 2f 20 43 72 65 61 74 | nil;...|// Creat|
|00000ec0| 65 20 61 20 63 6c 6f 77 | 6e 2e 0d 09 63 6c 6f 77 |e a clow|n...clow|
|00000ed0| 6e 20 3d 20 6e 65 77 20 | 43 43 6c 6f 77 6e 28 22 |n = new |CClown("|
|00000ee0| 5c 70 46 72 65 64 22 29 | 3b 0d 0d 09 2f 2f 20 41 |\pFred")|;...// A|
|00000ef0| 64 64 20 69 74 20 74 6f | 20 74 68 65 20 64 61 74 |dd it to| the dat|
|00000f00| 61 62 61 73 65 2e 0d 09 | 64 61 74 61 62 61 73 65 |abase...|database|
|00000f10| 2d 3e 61 64 64 4f 62 6a | 65 63 74 28 63 6c 6f 77 |->addObj|ect(clow|
|00000f20| 6e 29 3b 0d 0d 09 2f 2f | 20 42 75 69 6c 64 20 75 |n);...//| Build u|
|00000f30| 70 20 69 74 73 20 61 72 | 73 65 6e 61 6c 2e 0d 09 |p its ar|senal...|
|00000f40| 63 6c 6f 77 6e 2d 3e 62 | 61 6b 65 50 69 65 28 22 |clown->b|akePie("|
|00000f50| 4a 65 6c 6c 6f 22 29 3b | 0d 09 63 6c 6f 77 6e 2d |Jello");|..clown-|
|00000f60| 3e 62 61 6b 65 50 69 65 | 28 22 4d 61 72 73 68 6d |>bakePie|("Marshm|
|00000f70| 65 6c 6c 6f 77 22 29 3b | 0d 09 63 6c 6f 77 6e 2d |ellow");|..clown-|
|00000f80| 3e 62 61 6b 65 50 69 65 | 28 22 43 75 73 74 61 72 |>bakePie|("Custar|
|00000f90| 64 22 29 3b 0d 09 63 6c | 6f 77 6e 2d 3e 62 61 6b |d");..cl|own->bak|
|00000fa0| 65 50 69 65 28 22 43 6f | 6f 6c 20 57 68 69 70 a8 |ePie("Co|ol Whip.|
|00000fb0| 22 29 3b 0d 09 63 6c 6f | 77 6e 2d 3e 62 61 6b 65 |");..clo|wn->bake|
|00000fc0| 50 69 65 28 22 59 6f 67 | 75 72 74 22 29 3b 0d 0d |Pie("Yog|urt");..|
|00000fd0| 09 2f 2f 20 52 65 6d 65 | 6d 62 65 72 20 74 6f 20 |.// Reme|mber to |
|00000fe0| 72 65 6d 6f 76 65 20 6f | 75 72 20 72 65 66 65 72 |remove o|ur refer|
|00000ff0| 65 6e 63 65 20 77 68 65 | 6e 20 77 65 27 72 65 20 |ence whe|n we're |
|00001000| 64 6f 6e 65 2e 0d 09 63 | 6c 6f 77 6e 2d 3e 75 6e |done...c|lown->un|
|00001010| 72 65 66 65 72 28 29 3b | 0d 09 63 6c 6f 77 6e 20 |refer();|..clown |
|00001020| 3d 20 6e 69 6c 3b 0d 0d | 09 2f 2f 20 43 72 65 61 |= nil;..|.// Crea|
|00001030| 74 65 20 61 6e 6f 74 68 | 65 72 20 6a 6f 6b 65 72 |te anoth|er joker|
|00001040| 2e 0d 09 6a 6f 6b 65 72 | 20 3d 20 6e 65 77 20 43 |...joker| = new C|
|00001050| 4a 6f 6b 65 72 28 22 5c | 70 48 61 72 72 79 22 29 |Joker("\|pHarry")|
|00001060| 3b 0d 0d 09 2f 2f 20 41 | 64 64 20 69 74 20 74 6f |;...// A|dd it to|
|00001070| 20 74 68 65 20 64 61 74 | 61 62 61 73 65 2e 0d 09 | the dat|abase...|
|00001080| 64 61 74 61 62 61 73 65 | 2d 3e 61 64 64 4f 62 6a |database|->addObj|
|00001090| 65 63 74 28 6a 6f 6b 65 | 72 29 3b 0d 0d 09 2f 2f |ect(joke|r);...//|
|000010a0| 20 54 68 69 73 20 67 75 | 79 20 73 74 65 61 6c 73 | This gu|y steals|
|000010b0| 20 6a 6f 6b 65 73 2e 0d | 09 6a 6f 6b 65 72 2d 3e | jokes..|.joker->|
|000010c0| 6c 65 61 72 6e 4a 6f 6b | 65 28 6a 6f 6b 65 32 29 |learnJok|e(joke2)|
|000010d0| 3b 0d 0d 09 2f 2f 20 52 | 65 6d 6f 76 65 20 6f 75 |;...// R|emove ou|
|000010e0| 72 20 72 65 66 65 72 65 | 6e 63 65 20 74 6f 20 74 |r refere|nce to t|
|000010f0| 68 65 20 6a 6f 6b 65 72 | 20 61 6e 64 20 74 68 65 |he joker| and the|
|00001100| 20 6a 6f 6b 65 73 2e 0d | 09 6a 6f 6b 65 72 2d 3e | jokes..|.joker->|
|00001110| 75 6e 72 65 66 65 72 28 | 29 3b 0d 09 6a 6f 6b 65 |unrefer(|);..joke|
|00001120| 72 20 3d 20 6e 69 6c 3b | 0d 09 6a 6f 6b 65 31 2d |r = nil;|..joke1-|
|00001130| 3e 75 6e 72 65 66 65 72 | 28 29 3b 0d 09 6a 6f 6b |>unrefer|();..jok|
|00001140| 65 31 20 3d 20 6e 69 6c | 3b 0d 09 6a 6f 6b 65 32 |e1 = nil|;..joke2|
|00001150| 2d 3e 75 6e 72 65 66 65 | 72 28 29 3b 0d 09 6a 6f |->unrefe|r();..jo|
|00001160| 6b 65 32 20 3d 20 6e 69 | 6c 3b 0d 7d 0d 0d 2f 2a |ke2 = ni|l;.}../*|
|00001170| 2a 2a 0d 20 2a 20 70 72 | 69 6e 74 4f 75 74 0d 20 |**. * pr|intOut. |
|00001180| 2a 0d 20 2a 09 46 69 6e | 64 20 69 6e 20 74 75 72 |*. *.Fin|d in tur|
|00001190| 6e 20 65 61 63 68 20 6f | 66 20 74 68 65 20 74 68 |n each o|f the th|
|000011a0| 72 65 65 20 6f 62 6a 65 | 63 74 73 20 69 6e 20 74 |ree obje|cts in t|
|000011b0| 68 65 20 64 61 74 61 62 | 61 73 65 2c 20 74 77 6f |he datab|ase, two|
|000011c0| 20 6a 6f 6b 65 72 73 20 | 61 6e 64 0d 20 2a 09 61 | jokers |and. *.a|
|000011d0| 20 63 6c 6f 77 6e 2c 20 | 74 68 65 6e 20 63 6f 6d | clown, |then com|
|000011e0| 6d 69 74 20 74 68 65 20 | 63 68 61 6e 67 65 73 20 |mit the |changes |
|000011f0| 74 6f 20 64 69 73 6b 2e | 0d 20 2a 0d 20 2a 2a 2a |to disk.|. *. ***|
|00001200| 2f 0d 76 6f 69 64 20 43 | 4c 61 75 67 68 73 44 6f |/.void C|LaughsDo|
|00001210| 63 3a 3a 70 72 69 6e 74 | 4f 75 74 28 76 6f 69 64 |c::print|Out(void|
|00001220| 29 0d 7b 0d 09 43 50 65 | 72 73 6f 6e 20 2a 09 09 |).{..CPe|rson *..|
|00001230| 09 70 65 72 73 6f 6e 3b | 0d 09 43 4e 65 6f 4e 61 |.person;|..CNeoNa|
|00001240| 6d 65 53 65 6c 65 63 74 | 09 09 6b 65 79 28 22 5c |meSelect|..key("\|
|00001250| 70 22 29 3b 0d 09 43 4e | 65 6f 44 61 74 61 62 61 |p");..CN|eoDataba|
|00001260| 73 65 20 2a 09 09 64 61 | 74 61 62 61 73 65 09 09 |se *..da|tabase..|
|00001270| 3d 20 67 65 74 44 61 74 | 61 62 61 73 65 28 29 3b |= getDat|abase();|
|00001280| 0d 09 43 4e 65 6f 49 6e | 64 65 78 49 74 65 72 61 |..CNeoIn|dexItera|
|00001290| 74 6f 72 09 69 74 65 72 | 61 74 6f 72 28 64 61 74 |tor.iter|ator(dat|
|000012a0| 61 62 61 73 65 2c 20 6b | 50 65 72 73 6f 6e 49 44 |abase, k|PersonID|
|000012b0| 2c 20 26 6b 65 79 2c 20 | 54 52 55 45 2c 20 54 52 |, &key, |TRUE, TR|
|000012c0| 55 45 29 3b 0d 09 43 4e | 65 6f 53 74 72 69 6e 67 |UE);..CN|eoString|
|000012d0| 09 09 09 73 74 72 69 6e | 67 3b 0d 09 63 68 61 72 |...strin|g;..char|
|000012e0| 09 09 09 09 6e 61 6d 65 | 5b 36 34 5d 3b 0d 0d 09 |....name|[64];...|
|000012f0| 2f 2f 20 54 65 6c 6c 20 | 74 68 65 6d 20 77 68 61 |// Tell |them wha|
|00001300| 74 20 77 65 27 72 65 20 | 61 62 6f 75 74 20 74 6f |t we're |about to|
|00001310| 20 64 6f 2e 0d 09 64 61 | 74 61 62 61 73 65 2d 3e | do...da|tabase->|
|00001320| 67 65 74 4e 61 6d 65 28 | 73 74 72 69 6e 67 29 3b |getName(|string);|
|00001330| 0d 09 42 6c 6f 63 6b 4d | 6f 76 65 28 26 73 74 72 |..BlockM|ove(&str|
|00001340| 69 6e 67 5b 31 5d 2c 20 | 6e 61 6d 65 2c 20 73 74 |ing[1], |name, st|
|00001350| 72 69 6e 67 5b 30 5d 29 | 3b 0d 09 6e 61 6d 65 5b |ring[0])|;..name[|
|00001360| 73 74 72 69 6e 67 5b 30 | 5d 5d 20 3d 20 30 3b 0d |string[0|]] = 0;.|
|00001370| 09 70 72 69 6e 74 66 28 | 22 52 65 73 74 6f 72 69 |.printf(|"Restori|
|00001380| 6e 67 20 25 6c 64 20 4a | 6f 6b 65 72 73 20 26 20 |ng %ld J|okers & |
|00001390| 25 6c 64 20 43 6c 6f 77 | 6e 73 20 66 72 6f 6d 20 |%ld Clow|ns from |
|000013a0| 5c 22 25 73 5c 22 2e 5c | 6e 22 2c 0d 09 09 64 61 |\"%s\".\|n",...da|
|000013b0| 74 61 62 61 73 65 2d 3e | 67 65 74 4f 62 6a 65 63 |tabase->|getObjec|
|000013c0| 74 43 6f 75 6e 74 28 6b | 4a 6f 6b 65 72 49 44 2c |tCount(k|JokerID,|
|000013d0| 20 46 41 4c 53 45 29 2c | 0d 09 09 64 61 74 61 62 | FALSE),|...datab|
|000013e0| 61 73 65 2d 3e 67 65 74 | 4f 62 6a 65 63 74 43 6f |ase->get|ObjectCo|
|000013f0| 75 6e 74 28 6b 43 6c 6f | 77 6e 49 44 2c 20 46 41 |unt(kClo|wnID, FA|
|00001400| 4c 53 45 29 2c 20 6e 61 | 6d 65 29 3b 0d 0d 09 2f |LSE), na|me);.../|
|00001410| 2f 20 4c 65 74 27 73 20 | 6d 61 6b 65 20 72 61 6e |/ Let's |make ran|
|00001420| 64 28 29 20 61 20 6c 69 | 74 74 6c 65 20 6d 6f 72 |d() a li|ttle mor|
|00001430| 65 20 76 61 72 69 61 62 | 6c 65 2e 0d 09 73 72 61 |e variab|le...sra|
|00001440| 6e 64 28 28 69 6e 74 29 | 74 69 6d 65 28 6e 69 6c |nd((int)|time(nil|
|00001450| 29 29 3b 0d 0d 09 2f 2f | 20 47 65 74 20 74 68 65 |));...//| Get the|
|00001460| 20 66 69 72 73 74 20 70 | 65 72 73 6f 6e 20 6f 62 | first p|erson ob|
|00001470| 6a 65 63 74 2e 0d 09 70 | 65 72 73 6f 6e 20 3d 20 |ject...p|erson = |
|00001480| 28 43 50 65 72 73 6f 6e | 20 2a 29 69 74 65 72 61 |(CPerson| *)itera|
|00001490| 74 6f 72 2e 63 75 72 72 | 65 6e 74 4f 62 6a 65 63 |tor.curr|entObjec|
|000014a0| 74 28 29 3b 0d 0d 09 77 | 68 69 6c 65 28 70 65 72 |t();...w|hile(per|
|000014b0| 73 6f 6e 29 20 7b 0d 09 | 09 70 65 72 73 6f 6e 2d |son) {..|.person-|
|000014c0| 3e 70 72 69 6e 74 4e 61 | 6d 65 28 29 3b 09 09 09 |>printNa|me();...|
|000014d0| 09 09 09 2f 2f 20 49 6e | 74 72 6f 64 75 63 74 69 |...// In|troducti|
|000014e0| 6f 6e 73 2e 0d 09 09 70 | 65 72 73 6f 6e 2d 3e 73 |ons....p|erson->s|
|000014f0| 6b 69 6c 6c 28 29 3b 09 | 09 09 09 09 09 09 2f 2f |kill();.|......//|
|00001500| 20 45 6e 74 65 72 74 61 | 69 6e 20 74 68 65 20 63 | Enterta|in the c|
|00001510| 72 6f 77 64 2e 0d 09 09 | 70 72 69 6e 74 66 28 22 |rowd....|printf("|
|00001520| 5c 6e 22 29 3b 0d 09 09 | 70 65 72 73 6f 6e 20 3d |\n");...|person =|
|00001530| 20 28 43 50 65 72 73 6f | 6e 20 2a 29 69 74 65 72 | (CPerso|n *)iter|
|00001540| 61 74 6f 72 2e 6e 65 78 | 74 4f 62 6a 65 63 74 28 |ator.nex|tObject(|
|00001550| 29 3b 09 2f 2f 20 4e 65 | 78 74 2e 0d 09 7d 0d 7d |);.// Ne|xt...}.}|
|00001560| 09 09 09 0d 0d 0d 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001580| 00 00 01 00 00 00 04 36 | 00 00 03 36 00 00 01 56 |.......6|...6...V|
|00001590| 5f 66 75 6e 63 29 3b 0d | 4a 40 4f ef 00 0c 6e 04 |_func);.|J@O...n.|
|000015a0| 42 6e ff fe 30 2e ff fe | 4e 5e 4e 75 4e 56 00 00 |Bn..0...|N^NuNV..|
|000015b0| 0d 43 4c 61 75 67 68 73 | 44 6f 63 2e 63 70 02 00 |.CLaughs|Doc.cp..|
|000015c0| 00 00 54 45 58 54 4b 41 | 48 4c 01 00 00 14 00 00 |..TEXTKA|HL......|
|000015d0| 00 00 54 45 58 54 4b 41 | 48 4c 01 00 00 14 00 00 |..TEXTKA|HL......|
|000015e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015f0| 00 00 a2 22 db b7 00 00 | 14 e6 00 00 05 8c 00 0c |..."....|........|
|00001600| 22 88 20 2e ff fc 4e 5e | 4e 75 4e 56 ff fa 48 6e |". ...N^|NuNV..Hn|
|00001610| ff fa 48 6e ff fc 3f 2e | 00 10 48 6d 00 0c 2f 2e |..Hn..?.|..Hm../.|
|00001620| 00 08 4e ad 00 00 4a 40 | 4f ef 00 12 6e 08 42 6e |..N...J@|O...n.Bn|
|00001630| ff fa 42 ae ff fc 4a ae | 00 0c 67 0e 30 6e ff fa |..B...J.|..g.0n..|
|00001640| d1 ee 00 08 22 6e 00 0c | 22 88 20 2e ff fc 4e 5e |...."n..|". ...N^|
|00001650| 4e 75 4e 56 00 00 2f 0c | 28 6e 00 08 42 ac 00 12 |NuNV../.|(n..B...|
|00001660| 2f 0c 4e ad 00 00 4a 2c | 00 01 58 8f 6a 1a 20 2c |/.N...J,|..X.j. ,|
|00001670| 00 0a 29 40 00 12 d1 ac | 00 16 29 6c 00 06 00 0e |..)@....|..)l....|
|00001680| 00 00 00 14 00 00 3b 27 | ff ff 00 00 00 00 00 00 |......;'|........|
|00001690| 31 8d ff ff 00 00 00 00 | 00 00 00 0a 00 00 21 ca |1.......|......!.|
|000016a0| 00 e3 00 00 00 00 00 00 | 00 14 00 00 19 1a 00 e3 |........|........|
|000016b0| 00 00 00 00 00 00 0c 94 | 00 86 00 00 00 00 00 00 |........|........|
|000016c0| 00 6a 00 04 00 24 00 00 | 03 cd 00 29 00 b7 d0 1c |.j...$..|...)....|
|000016d0| 00 00 15 2a 28 43 4e 65 | 6f 46 69 6c 65 20 2a 29 |...*(CNe|oFile *)|
|000016e0| 69 74 73 46 69 6c 65 20 | 00 16 00 00 03 cd 00 29 |itsFile |.......)|
|000016f0| 00 b7 d0 0c 00 00 07 69 | 74 73 46 69 6c 65 00 18 |.......i|tsFile..|
|00001700| 00 00 0c 94 00 86 00 b7 | cf fc 00 00 09 2a 69 74 |........|.....*it|
|00001710| 73 46 69 6c 65 20 00 16 | 00 00 0c 94 00 86 00 b7 |sFile ..|........|
|00001720| cf e4 00 00 07 69 74 73 | 46 69 6c 65 00 00 00 0a |.....its|File....|
|00001730| 00 00 15 b5 ff ff 00 00 | 00 00 00 00 00 1a 00 01 |........|........|
|00001740| 00 18 00 00 16 29 00 e3 | 01 4c 75 e4 00 00 09 6d |.....)..|.Lu....m|
|00001750| 65 74 61 43 6c 61 73 73 | 00 00 00 0a 00 00 36 47 |etaClass|......6G|
|00001760| ff ff 00 00 00 00 00 00 | 00 0a 00 00 37 4e ff ff |........|....7N..|
|00001770| 00 00 00 00 00 00 00 16 | 00 01 00 14 00 00 39 30 |........|......90|
|00001780| 00 e3 01 47 3a 00 00 00 | 05 64 69 72 74 79 00 00 |...G:...|.dirty..|
|00001790| 00 0a 00 00 25 03 00 e3 | 00 00 00 00 00 00 00 42 |....%...|.......B|
|000017a0| 00 02 00 2a 00 00 2f 50 | 00 e3 01 43 21 84 80 00 |...*../P|...C!...|
|000017b0| 01 f0 00 3b 02 99 01 18 | 94 20 00 00 00 00 00 01 |...;....|. ......|
|000017c0| 00 08 00 01 07 2a 6f 62 | 6a 65 63 74 00 16 00 00 |.....*ob|ject....|
|000017d0| 2f 67 00 e3 01 43 20 e8 | 00 00 07 66 4f 62 6a 65 |/g...C .|...fObje|
|000017e0| 63 74 00 00 00 0a 00 00 | 2f 95 00 e3 01 43 25 00 |ct......|/....C%.|
|000017f0| 00 00 00 84 00 03 00 26 | 00 00 2f c7 00 e3 01 43 |.......&|../....C|
|00001800| 25 00 00 00 17 6f 62 6a | 65 63 74 2d 3e 66 50 61 |%....obj|ect->fPa|
|00001810| 72 65 6e 74 20 3d 3d 20 | 6e 69 6c 20 00 32 00 00 |rent == |nil .2..|
|00001820| 2f 95 00 e3 01 43 23 10 | 80 00 02 98 01 b9 03 41 |/....C#.|.......A|
|00001830| 02 56 7e 32 00 00 00 00 | 00 00 13 2a 28 2a 6f 62 |.V~2....|...*(*ob|
|00001840| 6a 65 63 74 29 2e 66 50 | 61 72 65 6e 74 20 00 2a |ject).fP|arent .*|
|00001850| 00 00 2f 95 00 e3 01 43 | 24 f0 80 00 02 8d 00 d7 |../....C|$.......|
|00001860| 03 36 01 9a 94 20 00 00 | 00 00 00 01 00 08 00 01 |.6... ..|........|
|00001870| 07 2a 6f 62 6a 65 63 74 | 00 00 00 0a 00 00 23 b1 |.*object|......#.|
|00001880| 00 e3 00 00 00 00 00 00 | 00 0a 00 00 23 b1 00 e3 |........|....#...|
|00001890| 00 00 00 00 00 00 00 0a | 00 00 2f 29 00 e3 00 00 |........|../)....|
|000018a0| 00 00 00 00 00 0a 00 00 | 16 d3 00 e3 00 00 00 00 |........|........|
|000018b0| 00 00 00 44 00 02 00 16 | 00 00 1d 29 00 e3 01 44 |...D....|...)...D|
|000018c0| 38 b0 00 00 07 69 74 73 | 46 69 6c 65 00 2c 00 00 |8....its|File.,..|
|000018d0| 1d 29 00 e3 01 44 38 b4 | 00 00 1d 28 28 43 4e 65 |.)...D8.|...((CNe|
|000018e0| 6f 46 69 6c 65 20 2a 29 | 69 74 73 46 69 6c 65 29 |oFile *)|itsFile)|
|000018f0| 2d 3e 72 65 66 4e 75 6d | 00 00 00 18 00 01 00 16 |->refNum|........|
|00001900| 00 00 28 6a 00 e3 00 b8 | 39 6c 00 00 07 66 4f 62 |..(j....|9l...fOb|
|00001910| 6a 65 63 74 00 00 00 0a | 00 00 3b 95 00 e3 00 00 |ject....|..;.....|
|00001920| 00 00 00 00 00 0a 00 00 | 2f 80 00 e3 00 00 00 00 |........|/.......|
|00001930| 00 00 00 1e 00 28 02 29 | 03 5c 04 4c 00 28 02 29 |.....(.)|.\.L.(.)|
|00001940| 03 5c 04 4c 00 00 00 00 | 00 00 00 00 00 00 00 00 |.\.L....|........|
|00001950| 00 00 00 00 00 14 00 00 | 07 ca ff ff 00 00 00 00 |........|........|
|00001960| 00 00 09 69 ff ff 00 00 | 00 00 00 00 00 48 00 09 |...i....|.....H..|
|00001970| 4d 6f 6e 61 63 6f 00 00 | 00 00 00 00 00 00 00 00 |Monaco..|........|
|00001980| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001990| 00 03 00 04 00 28 00 0a | 01 c2 02 80 00 28 00 0a |.....(..|.....(..|
|000019a0| 01 c2 02 80 aa b4 55 d9 | 00 00 11 d1 00 00 11 d1 |......U.|........|
|000019b0| 00 00 0e a5 01 00 00 00 | 01 00 00 00 04 36 00 00 |........|.....6..|
|000019c0| 03 36 00 00 01 56 01 c1 | c2 c4 30 1c 00 00 00 1c |.6...V..|..0.....|
|000019d0| 01 56 00 02 42 4b 50 54 | 00 0e 00 1a 44 54 56 55 |.V..BKPT|....DTVU|
|000019e0| 00 06 00 ce 4d 50 53 52 | 00 01 01 22 77 69 ff ff |....MPSR|..."wi..|
|000019f0| 00 00 00 00 00 00 00 00 | 36 60 ff ff 00 00 00 18 |........|6`......|
|00001a00| 00 00 00 00 6e 9c ff ff | 00 00 00 26 00 00 00 00 |....n...|...&....|
|00001a10| 0e d1 ff ff 00 00 00 ac | 00 00 00 00 17 ad ff ff |........|........|
|00001a20| 00 00 00 d8 00 00 00 00 | 65 f3 ff ff 00 00 00 e6 |........|e.......|
|00001a30| 00 00 00 00 6f 37 ff ff | 00 00 01 0e 00 00 00 00 |....o7..|........|
|00001a40| 4d b5 ff ff 00 00 01 62 | 00 00 00 00 17 00 ff ff |M......b|........|
|00001a50| 00 00 01 f8 00 00 00 00 | 69 f9 ff ff 00 00 02 06 |........|i.......|
|00001a60| 00 00 00 00 21 b6 ff ff | 00 00 02 14 00 00 00 00 |....!...|........|
|00001a70| 1d c2 ff ff 00 00 02 22 | 00 00 00 00 5d 5a ff ff |......."|....]Z..|
|00001a80| 00 00 02 94 00 00 00 00 | 13 62 ff ff 00 00 02 a2 |........|.b......|
|00001a90| 00 00 00 00 1e 89 ff ff | 00 00 02 d2 00 00 00 00 |........|........|
|00001aa0| 38 e2 ff ff 00 00 00 3e | 00 00 00 00 32 17 ff ff |8......>|....2...|
|00001ab0| 00 00 00 ba 00 00 00 00 | 4b 36 ff ff 00 00 00 f4 |........|K6......|
|00001ac0| 00 00 00 00 3e 9c ff ff | 00 00 01 1c 00 00 00 00 |....>...|........|
|00001ad0| 68 61 ff ff 00 00 01 70 | 00 00 00 00 17 0f ff ff |ha.....p|........|
|00001ae0| 00 00 02 30 00 00 00 00 | 72 9d ff ff 00 00 02 78 |...0....|r......x|
|00001af0| 00 00 00 00 03 f0 ff ff | 00 00 02 b0 00 00 00 00 |........|........|
|00001b00| 03 ed ff ff 00 00 02 ea | 00 00 00 00 00 00 00 00 |........|........|
|00001b10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+